import request from '@/utils/request'

export default{
    //根据手机发送短信验证码
     getMobileCode(mobile) {
        return request({
            url: `/edumsm/message/send/${mobile}`,
            method: 'get'
        })
    },
    //用户注册
    submitRegister(registerInfo){
        return request({
            url: `/educenter/member/register`,
            method: 'post',
            data:registerInfo
        })
    }
} 